package com.jzfai.mapper;
import com.jzfai.entity.Admin;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * Created on 2019-08-13.
 *
 * @author fai
 */
public interface AdminMapper {

	List<Admin> selectListAdmin(Admin admin);

	List<Admin> selectByIdAdmin(@Param("id") Integer id);

	int insertAdmin(Admin admin);

	int updateAdmin(Admin admin);

	int deleteAdmin(Admin admin);

	int deleteByIdAdmin(@Param("id") Integer id);

}
